package hanqi.llbrary.DAO;


import hanqi.llbrary.entity.Publisher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PublisherDAO extends JpaRepository<Publisher, Integer>
{
  List<Publisher> findByPublisherNameContains(String publisherName);
}
